import { request } from "@/utils";

//登录
export function loginApi(loginForm){
    return request({
        url: '/authorizations',
        method: 'POST',
        data: loginForm
    })
}


//获取用户信息
export function getUserInfoApi(){
    return request({
        url: '/user/profile',
        method: 'GET',
    })
}